<?php
/**
 * 短信验证码管理
 * Created by gii.
 * User: Gii
 * Date: 2024/01/22
 * Time: 07:35
 */

namespace App\Models\Models\System;

use App\Models\Entitys\System\UserCodesEntity;
use App\Models\Traits\Common;
use Illuminate\Database\Eloquent\Model;

class SystemUserCodes extends Model
{
    use Common;
    use UserCodesEntity;

    public $timestamps = false;

	public static function status($id, $status) {
        $data = [
            'id' => $id,
            'status' => $status,
        ];
        self::updateCommon($data);
        return true;
    }
}
